<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=720, user-scalable=no">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-title" content="">
<title></title>
<link href="css/style.css" rel="stylesheet" />
<link href="css/base.css" rel="stylesheet" />
<link href="css/animate.css" rel="stylesheet" />
<script src="https://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"  type="text/javascript"></script>
<script src="http://h5.cailianxinwen.com/wxjson/js/wxapi-vote.js?v=1.01"  type="text/javascript"></script>
<style>
body{
    background: url(img/bg2.jpg) center no-repeat
}
</style>
</head>

<body>

</body>
<script>
    function getUser() {
        //return imagelistener.getLoginUser()
        return imagelistener.toLogin()
    }
    function getLoginUser(json)
    {
      //  $('body').html(json)
    }
    function LoginResult(){
   //     $('body').html('登录成功')
    }
    if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { //判断iPhone|iPad|iPod|iOS

                window.webkit.messageHandlers.toLogin.postMessage(null);
      } else if (/(Android)/i.test(navigator.userAgent)) {  //判断Android
        //alert(navigator.userAgent); 
        var tmp=getUser()
        $('body').html(tmp)
      } else { //pc
   
      };
</script>
</html>